/*
 * Copyright (c) 2003-2005
 * XDoclet Team
 * All rights reserved.
 */
/*
 * Copyright 2005 by J Tec Team GbR
 * All rights reserved
 */
package org.xdoclet.plugin.hibernate;

import java.net.URL;

import org.generama.MetadataProvider;

import org.xdoclet.QDoxMetadataProvider;

/**
 * test that ID generation respects implicit type specification
 *
 * @author k.pribluda
 */
public class FieldIdTestCase extends AbstractHibernateMappingTestCase {
    protected URL getExpected() throws Exception {
        return getResourceRelativeToThisPackage("id/FieldIdBean.hbm.xml");
    }

    protected MetadataProvider createMetadataProvider() throws Exception {
        URL reader = this.getResourceRelativeToThisPackage("id/FieldIdBean.java");
        return new QDoxMetadataProvider(reader);
    }
}